package com.oa.hyperion.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("模板信息")
public class Template implements Serializable {

  @ApiModelProperty(name = "id",value = "模板ID，不需要传")
  @TableId(type = IdType.AUTO)
  private Integer id;
  @ApiModelProperty(name = "name", value = "模板名称",required = true)
  private String name;
  @ApiModelProperty(name = "name", value = "创建模板用户ID",required = true)
  private Integer creator;
  @ApiModelProperty(name = "create_time",value = "创建模板的时间")
  private Date createTime;
  @ApiModelProperty(name = "status",value = "当前模板的状态")
  private String status;
  @ApiModelProperty("模板的结构")
  private String structure;
}
